package com.toutiao.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.toutiao.dao.model.NewsComment;
import com.toutiao.dao.model.NewsCommentExample;

public interface NewsCommentMapper {
	int countByExample(NewsCommentExample example);

	int deleteByExample(NewsCommentExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(NewsComment record);

	int insertSelective(NewsComment record);

	List<NewsComment> selectByExample(NewsCommentExample example);

	NewsComment selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") NewsComment record, @Param("example") NewsCommentExample example);

	int updateByExample(@Param("record") NewsComment record, @Param("example") NewsCommentExample example);

	int updateByPrimaryKeySelective(NewsComment record);

	int updateByPrimaryKey(NewsComment record);

}
